package com.autumn.platform.dao.jpa;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.springframework.data.jpa.domain.AbstractPersistable;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class User extends AbstractPersistable<Long> {

    @Column(unique = true)
    private String username;

    private String firstname;
    private String lastname;

    @Override
    public void setId(Long id) {
        super.setId(id);
    }

}
